import axios from "../api"; // 导入 api
var PLAT = "wx";
let STATIC_WEB_URL = "http://192.168.10.158:8500";


//场馆简介
export const getIntroList = () =>
axios(
  STATIC_WEB_URL + "/api/intro_list",
  {
    p: PLAT
  },
  "GET",
  true
);

//新闻资讯
export const article_list = (
  cate_id =1,
  page = 1,
  limit= 10,
) =>
  axios(
    STATIC_WEB_URL + "/api/article_list",
    {
      p: PLAT,
      cate_id,
      page,limit,
    },
    "GET",
    true
  );